<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
<div id="content">
    <span id="ele">
      页面元素
    </span>
</div>
<script>
    $("#content").click(function(){
        console.log($(this).text());
        console.log($(this).html());
        $(this).html("<h1>我是点击之后的内容</h1>")
    });
    console.log($("a").attr("href"));
</script>


</body>
</html>